import request from '@/utils/request.js'

/**
 *  获取token
 * @param {*} data {password,username}
 */
export function goLogin (data) {
  return request({
    url: '/user/login',
    method: 'POST',
    data
  })
}
